<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <title>乐i-我的商品</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="/css/see/reset.min.css">
    <link rel="stylesheet" href="/css/happyi/myCommodity.min.css?v=<%=$version%>">
</head>
<body>
<div id="myCommodity" v-cloak>
    <div class="circleBar-top">
        <span class="goback" @click="getBack()"></span>
        我的商品
        <span class="circleBar-sear" @click="getNext(1)"></span>
    </div>
    <div class="myPost-tab clearfix">
        <span :class="{'active':value==1}" @click="getTab(1)">出售中</span>
        <span :class="{'active':value==2}" @click="getTab(2)">已下架</span>
    </div>
    <div class="recruitPage-screen company-screen clearfix">
        <span :class="{'active':list.order==1}" @click="getSelet(1)">添加时间<i></i><strong></strong></span>
        <span :class="{'active':list.order==2}" @click="getSelet(2)">销量<i></i><strong></strong></span>
        <span :class="{'active':list.order==3}" @click="getSelet(3)">成交额<i></i><strong></strong></span>
        <span :class="{'active':list.order==4}" @click="getSelet(4)">库存<i></i></span>
    </div>
    <div class="mySell-buttCent">
        <div class="mySell-list" v-for="item in noticeList2" :key="item.productId">
            <div class="mySell-listTop clearfix">
                <strong class="mySell-listHead" :style="bgimg(item.imgSrc)" @click="getNext(3,item.productId)"></strong>
                <h6>{{item.title}}</h6>
                <p>&yen;{{item.price}}</p>
                <div class="listTop-txt"><span>销量：{{item.orderNum}}</span><span>成交额：{{item.money}}</span></div>
                <div class="listTop-txt"><span>库存：{{item.num}}</span><span>添加：{{item.createDate}}</span></div>
            </div>
            <div class="myCommodity-listButt clearfix">
                <a><span class="myCommodity-icon1" @click="getNext(2,item.productId)">编辑</span><strong></strong></a>
                <a class="myCommodity-lower">
                    <span class="myCommodity-icon" v-if="value==1" @click="upperLowerProduct(item.productId)">下架</span>
                    <span class="jobAdmin-icon3" v-if="value==2" @click="upperLowerProduct(item.productId)">上架</span>
                    <strong></strong>
                </a>
                <a><span class="jobAdmin-icon1">分享</span></a>
            </div>
        </div>
    </div>
    <div class="myCommodity-btn">
        <a href="/addGoods?type=3">添加商品</a>
    </div>
    <div class="loadtip" v-if="loadFlag"></div>
    <prompt-view ref="prompt"></prompt-view>
</div>
<script src='/plugins/js/jquery-1.11.3.min.js'></script>
<script type="text/javascript" src="/plugins/js/vue.min.js"></script>
<script type="text/javascript" src="/js/happyi/myCommodity.js?v=<%=$version%>"></script>

</body>
</html>